<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://www.springframework.org/security/tags" prefix="security"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html>
<html>
<head>
<title>Sistema de Contratos e Convênios</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Sistema de Contratos e Convênios">
<meta name="author" content="ITEC-AL Capgemini">
<!-- Le JQuery script -->
<!-- JQuery scripts must come in the head, because this is the only way to work. -->
<script src="<spring:url value="/resources/js/jquery.min.js" />"></script>

<script src="<spring:url value="/resources/js/jquery-togglerows.js" />"></script>
<script src="<spring:url value="/resources/js/jquery.validate.min.js" />"></script>
<script src="<spring:url value="/resources/js/bootstrap-tooltip.js" />"></script>
<script src="<spring:url value="/resources/js/bootstrap.min.js" />"></script>

<!-- Le styles -->
<link href="<spring:url value="/resources/css/bootstrap.min.css" />" rel="stylesheet">
<link href="<spring:url value="/resources/css/main.css" />" rel="stylesheet">
<link href="<spring:url value="/resources/css/bootstrap-responsive.css" />" rel="stylesheet">

<link href="<spring:url value="/resources/css/custom-bootstrap.css" />" rel="stylesheet">


<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
			=======
		<!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
	    	<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
	    <![endif]-->

<!-- Le fav and touch icons -->
<link rel="shortcut icon" type="image/x-icon" href="<spring:url value="/resources/img/favicon.ico" />" />

<decorator:head />
<script>
	function notificar(msg) {
		$(".alert span").html(msg);
		$(".alert").show();
	}
	$(document).ready(function() {
		$(".alert .close").click(function() {
			$(this).parent().hide();
		});
	});
</script>
</head>

<body>
	<!-- container -->
	<div class="container">
		<div class="row-fluid" style="padding-top: 15px; margin-bottom: 30px;">
			<div class="span12">
				<a href="<spring:url value="/"/>"> <img style="margin-left: 30px; float: left; margin-right: 10px;"
					src="<spring:url value="/resources/img/logo-itec.png" />" />
				</a>
				<h5 style="margin-top: -10px">Sistema de Contratos e Convênios</h5>
				<div style="clear: both"></div>
				<div id="menu">
					<ul class="pull-right">
						<li><a href="<spring:url value="/conferencias/home"/>">Teste</a></li>
					</ul>
				</div>
				<div id="barrasuperior"></div>
			</div>
		</div>

		<div class="alert fade in" style="display: none">
			<button type="button" class="close">×</button>
			<span></span>
		</div>
		<c:if test="${errors != null}">
			<div class="alert alert-error">
				<a class="close" data-dismiss="alert">×</a> <strong>Erro:</strong> ${errors}
			</div>
		</c:if>
		<c:if test="${messages != null}">
			<div class="alert alert-info">
				<a class="close" data-dismiss="alert">×</a> <strong>Mensagem:</strong> ${messages}
			</div>
		</c:if>
		<c:if test="${success != null}">
			<div class="alert alert-success">
				<a class="close" data-dismiss="alert">×</a> <strong>Mensagem:</strong> ${success}
			</div>
		</c:if>

		<div class="body-container">
			<decorator:body />
		</div>

		<footer>
			<div class="row" style="margin-top: 35px; margin-bottom: 30px;">
				<img style="margin-right: 60px;" class="pull-right" src="<spring:url value="/resources/img/logo-itec.jpg" />" />
			</div>
		</footer>
	</div>

</body>
</html>